<?php
require_once '../../config/login_db.php';
session_start();
$sql="UPDATE
users
SET
freigeschaltet = '".mysql_real_escape_string(1)."'
 

WHERE
id = '".mysql_real_escape_string($_GET['id'])."'
";
$db=new Login_DB();
$db->query($sql);
//echo "a : ".$_GET['id'];
header('Location:'.$_SERVER['HTTP_REFERER']);

